package com.rightsidetech.system.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * sys_agent_login_history
 * @author
 */
public class SysAgentLoginHistory implements Serializable {
    /**
     * 主键
     */
    private Long id;

    /**
     * 登录信息id
     */
    private Long loginInfoId;

    /**
     * 登录凭证
     */
    private String token;

    /**
     * 登录时间
     */
    private Date loginTime;

    /**
     * 登出时间
     */
    private Date logoutTime;

    /**
     * 有效时间
     */
    private Date effectiveTime;

    /**
     * 0正常登录 -1密码错误 1非常用地址登录
     */
    private Byte status;

    /**
     * 登录ip
     */
    private String loginIp;

    /**
     * 登录设备号
     */
    private String deviceId;

    /**
     * 设备类型:0未知设备 1-安卓 2-ios
     */
    private Byte deviceTag;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getLoginInfoId() {
        return loginInfoId;
    }

    public void setLoginInfoId(Long loginInfoId) {
        this.loginInfoId = loginInfoId;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    public Date getLogoutTime() {
        return logoutTime;
    }

    public void setLogoutTime(Date logoutTime) {
        this.logoutTime = logoutTime;
    }

    public Date getEffectiveTime() {
        return effectiveTime;
    }

    public void setEffectiveTime(Date effectiveTime) {
        this.effectiveTime = effectiveTime;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public Byte getDeviceTag() {
        return deviceTag;
    }

    public void setDeviceTag(Byte deviceTag) {
        this.deviceTag = deviceTag;
    }
}